<?xml version="1.0" encoding="UTF-8"?>

<!--
    Document   : Place_CustomerStyleSheet.xsl
    Created on : July 25, 2013, 12:13 AM
    Author     : TOSHIBA
    Description:
        Purpose of transformation follows.
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html" omit-xml-declaration="yes"/>
    
    <xsl:template match="/">
        <div class="container">
            <div id="work">
                <div id="overview" class="sixteen columns">
                    <h3>Where do you want to go?</h3>
                    <hr />
                </div>
                <xsl:apply-templates select="ListPlaces"/>
            </div>
        </div>        
    </xsl:template>
    
    <xsl:template match="ListPlaces">
        <xsl:apply-templates select="placeInList"/>
    </xsl:template>
    <xsl:template match="placeInList">
        <div class="image">
            <xsl:value-of select="name"/>
            <a href="Controller?btAction=toPlaceDetail&amp;placeID={id}">
                <img src="images/{picturePath}" width="400" height="100" alt="Hinh1"/>
            </a>
        </div>
    </xsl:template>
</xsl:stylesheet>
